package easyexcel.listener;

import com.alibaba.excel.context.AnalysisContext;
import com.alibaba.excel.event.AnalysisEventListener;
import com.alibaba.fastjson.JSON;
import io.swagger.models.auth.In;

import java.util.Map;

/**
 * describe:
 *
 * @author huxingjie
 * @date 2019/09/23
 * @since 4.0
 */
public class HeadDataListener extends AnalysisEventListener<Map<Integer, String>> {

    @Override
    public void invokeHeadMap(Map<Integer, String> headMap, AnalysisContext context) {
        System.out.println(JSON.toJSONString(headMap));
    }

    @Override
    public void invoke(Map<Integer, String> data, AnalysisContext context) {
    }

    @Override
    public void doAfterAllAnalysed(AnalysisContext context) {
    }
}

    